import { $get } from '@js/authRequest'

// 获取延期审限案件列表
export async function getData (current, pageSize, condition) {
  const res = await $get('/api/xapc/casestat/limitExtendedStat', {
    current,
    page_size: pageSize,
    condition: JSON.stringify(condition)
  })
  if (res.status !== 1) {
    throw new Error(res.message)
  }
  return res.data
}
